<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="nature_value">
    <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value" />
</c:set>
<div class="t_bar"><span class="color_red">*</span>项目课题信息</div>
<table  id="subject" border="0" cellspacing="0" cellpadding="0" class="table01 t_css">
    <thead >
    <tr>
        <th align="center" width="4%">序号</th>
        <th align="center" width="9%">课题名称</th>
        <th align="center" width="9%">课题主持人</th>
        <th align="center" width="12%">出生年月</th>
        <th align="center" width="14%">职称</th>
        <th align="center" width="10%">职务</th>
        <th align="center" width="8%">单位</th>
        <th align="center" width="10%">联系电话</th>
        <th align="center" width="7%">课题经费（万元）</th>
        <th align="center" width="7%">自筹经费（万元）</th>
        <th align="center" width="6%">是否长三角区域</th>
    </tr>
    </thead>
    <tbody id="subject_tab">
    <c:set value="0" var="index" scope="page"/>
    <x:forEach select="$xmlData/data/subjects/subject" var="subject">

        <c:choose>
            <c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
            <c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
        </c:choose>
        <tr >

            <td align="center">
                <span   name="subjects/subject[${flag}${index}]@seq_no" ><x:out select="$subject/@seq_no"/></span>
            </td>
            <td align="center" style="word-break: break-all;">
                <x:out select="$subject/sub_name" />
            </td>

            <td align="center" style="word-break: break-all;">
                <x:out select="$subject/sub_psn" />
            </td>

            <td align="center" style="word-break: break-all;">
                <x:out select="$subject/basic_info/birth_date" />
            </td>

            <td align="center" style="word-break: break-all;">
                <x:out select="$subject/title_name" />
            </td>

            <td align="center" style="word-break: break-all;">
                <x:out select="$subject/sub_post" />
            </td>

            <td align="center" style="word-break: break-all;">
                <x:out select="$subject/sub_unit" />
            </td>

            <td align="center" style="word-break: break-all;">
                <x:out select="$subject/psn_phone" />
            </td>
            <td align="center" style="word-break: break-all;">
                <x:out select="$subject/sub_fund" />
            </td>
            <td align="center" style="word-break: break-all;">
                <x:out select="$subject/self_fund" />
            </td>
            <td align="center">
                <c:set var="triangle_reg_value"><x:out select="$subject/triangle_reg_value"/></c:set>
                <c:if test="${triangle_reg_value==0 }">是</c:if><c:if test="${triangle_reg_value==1 }">否</c:if>
            </td>
        </tr>
        <c:set var="beggerClass"></c:set>
        <c:set value="${index+1}" var="index" scope="page"/>
    </x:forEach>
    </tbody>
</table>

